<template>
  <div>
    <h1>Welcome!{{ userName }}</h1>
  </div>
</template>

<script>
export default {
  name: "HomeView",
  data() {
    return {
      userName: ''
    }
  },
  created() {
    let username = window.localStorage.getItem("username")
    this.userName = username.substring(1,username.length-1)
  }
}
</script>

<style scoped>
</style>
